package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

import java.util.Date;
import java.util.List;

public interface OrderService {
    void add(Order order);

    Page<Order> findLatest(Integer pageNum, Integer pageSize);

    Page<Order> findByPage(Integer pageNum, Integer pageSize, String number, String beginTime,String endTime);
}
